home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
util
/
cli
/
fullname.readme
< prev
next >
Wrap
Text File
|
1998-03-07
|
2KB
|
51 lines
Short: Gives full path and name of a file
Author: nahmt@cip.physik.uni-bonn.de (Torsten Nahm)
Uploader: nahmt@cip.physik.uni-bonn.de (Torsten Nahm)
Type: util/cli
This utility will give the full path and name of a file specified as argument.
The template is "FILENAME/A".
For example,
cd c:
fullname Dir
might yield:
Work:C/Dir
and
fullname ram:T
might give:
Ram Disk:T
This command may come in handy in script files. I personally use it as a
work-around for a bug in amigaguide display: When I open a guide file that
is neither directly in the current directory nor specified through a full
volume path, i.e. multiview Doc/Enforcer.guide, and click on a guide link,
the link will not be displayed and the error message: "Couldn't open
doc/Enforcer.guide" will appear instead.
So, I use the following alias
alias multiview run <>nil: sys:Utilities/MultiView "*`FullName []*`"
in my Shell-Startup.
The programm and source are in the Public Domain. The source was written
for SASC 6.50, but should easily be adaptable to any compiler.
Torsten Nahm
nahmt@cip.physik.uni-bonn.de
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
372 310 16.6% 23-Feb-98 13:32:02 +FullName
1182 527 55.4% 23-Feb-98 13:39:50 +fullname.c
1085 606 44.1% 23-Feb-98 13:55:44 +readme
84 63 25.0% 23-Feb-98 13:39:56 +SCOPTIONS
-------- ------- ----- --------- --------
2723 1506 44.6% 23-Feb-98 23:18:10 4 files